package org.esk.dablog.gwt.dablog.client.model;

import java.util.Date;

/**
 * This interface declares Forum's Entry functionality
 *   applied to posts as well as comments
 * User: esk
 * Date: 10.01.2007
 * Time: 12:29:08
 * $Id:$
 */
public interface ForumEntry {

    /**
     * Entry Header
     * @return
     */
    String getHeader();

    /**
     * Entry Text
     * @return
     */
    String getText();

    /**
     * Should headers be hidden when expanding the message
     * @return
     */
    boolean hideHeaderOnExpand();

    /**
     * returns author's username
     * @return
     */
    String getAuthorUsername();

    /**
     * returns author's identifier
     * @return
     */
    long getAuthorId();

    /**
     * returns entry date
     * @return
     */
    Date getDate();

}
